#ifndef TEACHER_H
#define TEACHER_H

#include <QMainWindow>
#include <QtSql>
#include <alter.h>

namespace Ui {
class teacher;
}

class teacher : public QMainWindow
{
    Q_OBJECT

public:
    explicit teacher(QWidget *parent = 0);
    ~teacher();
    void set_tno(QString a);//设置tno值
private slots:
    void on_pushButton_clicked();

    void on_actionalter_password_triggered();

private:
    Ui::teacher *ui;
    QString tno;     //存储当前用户账号
    alter alt;       //修改密码界面
};

#endif // TEACHER_H
